package tests;

import static org.junit.Assert.fail;

import java.util.List;

import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import entityJDBC.User;

public class TestJDBCUserDao {
	
	static daoJDBC.JDBCUserDao dao;
	
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		dao=new daoJDBC.JDBCUserDao();
	}

	@Before
	public void setUp() throws Exception {
		
		//dao.insert(user);
	}

	@Test
	public void testFindAll() {
		List<User> list=dao.findAll();
	}

	@Test
	public void testFindById() {
		User u=dao.findById(1);
	}

	@Test
	public void testInsert() {
		fail("Not yet implemented");
	}

	@Test
	public void testDelete() {
		fail("Not yet implemented");
	}

	@Test
	public void testGetUserTypeID() {
		fail("Not yet implemented");
	}

	@Test
	public void testUpdate() {
		fail("Not yet implemented");
	}

}
